


package ciicos.equ.model.equbase;


import lombok.Data;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

import ciicos.util.generater.DataSwapUtil;

/**
 * @版本： V3.2.0
 * @版权：
 * @作者： 企业研发中心
 * @日期： 2024-02-06
 */
@Data
public class EquBaseListVO {
    private String id;

    @JSONField(name = "flowtaskid")
    private String flowtaskid;

    /**
     * 保养周期
     **/
    @JsonProperty("upkeepCycle")
    private Double upkeepCycle;
    /**
     * 子表数据
     **/
    @JsonProperty("tableField120")
    @JSONField(name = "tableField120")
    private List<EquPointModel> equPointList;

    /**
     * 设备组
     **/
    @JSONField(name = "packet")
    private String packet;


    /**
     * 类型
     **/
    @JSONField(name = "type")
    private String type;

    /**
     * 多选组件重写get
     **/
    public void getType(String type) {
        this.type = DataSwapUtil.convertValueToString(type, false, false);
    }

    /**
     * 名称
     **/
    @JSONField(name = "name")
    private String name;


    /**
     * 编号
     **/
    @JSONField(name = "code")
    private String code;


    /**
     * 创建用户
     **/
    @JSONField(name = "creatoruserid")
    private String creatoruserid;


    /**
     * 创建时间
     **/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JSONField(name = "creatortime")
    private Date creatortime;
    /**
     * 下次保养日期
     **/
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @JSONField(name = "nextUpkeepDate")
    private Date nextUpkeepDate;

    /**
     * 保养提醒日期
     **/
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @JSONField(name = "upkeepRemindDate")
    private Date upkeepRemindDate;
    /**
     * 修改用户
     **/
    @JSONField(name = "lastmodifyuserid")
    private String lastmodifyuserid;


    /**
     * 修改时间
     **/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JSONField(name = "lastmodifytime")
    private Date lastmodifytime;

    /**
     * 品牌
     **/
    @JSONField(name = "brand")
    private String brand;


    /**
     * 型号
     **/
    @JSONField(name = "model")
    private String model;


    /**
     * 出厂编码
     **/
    @JSONField(name = "factorycode")
    private String factorycode;


    /**
     * 出厂日期
     **/
    @JSONField(name = "factorytime")
    private Long factorytime;
    /**
     * 购买日期
     **/
    @JSONField(name = "buyime")
    private Long buyime;
    /**
     * 位置
     **/
    @JSONField(name = "location")
    private String location;


    /**
     * 运行时长
     **/
    @JSONField(name = "runingtime")
    private Integer runingtime;
    /**
     * 运行状态
     **/
    @JSONField(name = "runingstatus")
    private String runingstatus;


    /**
     * 备注
     **/
    @JSONField(name = "description")
    private String description;


    /**
     * 附件
     **/
    @JSONField(name = "files")
    private String files;


    /**
     * 设备组
     **/
    @JSONField(name = "packet_name")
    private String packet_name;


    /**
     * 类型
     **/
    @JSONField(name = "type_name")
    private String type_name;


    /**
     * 名称
     **/
    @JSONField(name = "name_name")
    private String name_name;


    /**
     * 编号
     **/
    @JSONField(name = "code_name")
    private String code_name;


    /**
     * 创建用户
     **/
    @JSONField(name = "creatoruserid_name")
    private String creatoruserid_name;


    /**
     * 创建时间
     **/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JSONField(name = "creatortime_name")
    private Date creatortime_name;


    /**
     * 保养提醒日期
     **/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JSONField(name = "upkeepRemindDate_name")
    private Date upkeepRemindDate_name;
    /**
     * 下次保养日期
     **/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JSONField(name = "nextUpkeepDate_name")
    private Date nextUpkeepDate_name;
    /**
     * 修改用户
     **/
    @JSONField(name = "lastmodifyuserid_name")
    private String lastmodifyuserid_name;


    /**
     * 修改时间
     **/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JSONField(name = "lastmodifytime_name")
    private Date lastmodifytime_name;

    /**
     * 品牌
     **/
    @JSONField(name = "brand_name")
    private String brand_name;


    /**
     * 型号
     **/
    @JSONField(name = "model_name")
    private String model_name;


    /**
     * 出厂编码
     **/
    @JSONField(name = "factorycode_name")
    private String factorycode_name;


    /**
     * 出厂日期
     **/
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @JSONField(name = "factorytime_name")
    private Date factorytime_name;
    /**
     * 购买日期
     **/
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @JSONField(name = "buyime_name")
    private Date buyime_name;
    /**
     * 位置
     **/
    @JSONField(name = "location_name")
    private String location_name;


    /**
     * 运行时长
     **/
    @JSONField(name = "runingtime_name")
    private Integer runingtime_name;

    /**
     * 运行状态
     **/
    @JSONField(name = "runingstatus_name")
    private String runingstatus_name;


    /**
     * 备注
     **/
    @JSONField(name = "description_name")
    private String description_name;


    /**
     * 附件
     **/
    @JSONField(name = "files_name")
    private String files_name;


}
